package cn.iocoder.yudao.module.member.controller.admin.userpackagedetail.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 用户套餐购买明细分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class UserPackageDetailPageReqVO extends PageParam {

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

    @Schema(description = "套餐关联用户的id", example = "20803")
    private Long packageUsedId;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "用户id", example = "8446")
    private Long userId;

    @Schema(description = "充值时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] buyTime;

    @Schema(description = "充值金额")
    private String buyMoney;

    @Schema(description = "充值类型", example = "1")
    private Integer butType;

}